package com.changeover.gwt.shared.action;

import net.customware.gwt.dispatch.shared.Action;

import com.changeover.gwt.shared.model.LoginInfo;
import com.changeover.gwt.shared.result.LoginResult;

/**
 * Action
 * 
 * @author Kostenko Roman
 */
public class LoginAction implements Action<LoginResult> {
    private LoginInfo loginInfo;

    /** For serialization only. */
    LoginAction() {
    }

    public LoginAction(LoginInfo loginInfo) {
        this.loginInfo = loginInfo;
    }

    public LoginInfo getLoginInfo() {
        return loginInfo;
    }
}
